import Koa from 'koa';
import router from './routers.js';
import bodyParser from 'koa-bodyparser';

const app = new Koa();
app.use(bodyParser());
app.use(router);
app.listen(5000,()=>{
    console.log('http://localhost:5000');
});
